package icu.honeysuccess.business.config;

import org.springframework.amqp.core.*;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @author Honey
 * @date 2022/3/29
 */
@Configuration
public class RabbitMQConfig {

    public static final String AD_UPDATRE_QUEUE = "ad_update_queue";

    @Bean
    public Queue queue(){
        return new Queue(AD_UPDATRE_QUEUE);
    }


}
